<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>{Plugin}</title>
        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
        <script type="text/javascript" charset="utf-8" src="hgmsdk.js"></script>
        <script type="text/javascript" charset="utf-8" src="js/config.js"></script>
        <script type="text/javascript" charset="utf-8">
        // Wait for Cordova to connect with the device
        document.addEventListener("deviceready",onDeviceReady, false);

        // Cordova is ready to be used!
        function onDeviceReady() {
        	document.getElementById('msg').innerHTML = "Device is ready!";
        }
        var url = "{url}";
        if(url!="-1"){
        	window.location.href = url
        	
        }else{


        }
        
        </script>
    </head>
    <body>
		<h2 align="center">{Plugin}</br></h2>
		<div id="msg" align="center" style="color: red;">connecting ...</div>
    </body>
</html>